/*
 * Copyright 2002-2013 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.context.annotation;

/**
 * A variation of {@link ImportSelector} that runs after all {@code @Configuration} beans
 * have been processed. This type of selector can be particularly useful when the selected
 * imports are {@code @Conditional}.
 *
 * ImportSelector 的变体，在所有配置类的bean 被处理完之后运行。
 * 当所选的导入类型是 @Conditional 时，这个类型的选择器就变得非常有用！
 *
 * <p>Implementations can also extend the {@link org.springframework.core.Ordered}
 * interface or use the {@link org.springframework.core.annotation.Order} annotation to
 * indicate a precedence against other {@link DeferredImportSelector}s.
 *
 * 实现类也可以继承 Ordered 接口 或者 适用 Order 注解进行优先级排序！
 *
 * 我的理解：
 * 1.在框架的流程上，通过类型匹配，控制本类型的执行顺序。
 * 接下来是关于框架上的常用途径：
 * 2.与 @Conditional 相结合（虽然具体怎么操作我不清楚）
 * 3.与 @Order 接口相搭配进行优先级排序（至此，我已经了解了两个与 Order 搭配的接口了：BeanFactoryPostProcessor + DeferredImportSelector）
 *
 * @author Phillip Webb
 * @since 4.0
 */
public interface DeferredImportSelector extends ImportSelector {

}
